package com.spic.business.alarm.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @author 290512
 * @create 2022-04-09 13:42
 */
@Mapper
public interface FangPengZhuangAlarmDataMapper
{
    //    CURRENT_DATE
    @DS("ods")
    List<String> selectAlarmType();
    @DS("ods")
    List<Map<String,Object>> selectAlarmList(@Param("dateTime") Date dateTime);
    @DS("ods")
    List<Map<String,Object>> selectDdCSAlarm(@Param("dateTime") Date dateTime);
    //未带安全帽
    List<Map<String,Object>> selectHelmetAlarmList(@Param("halTime") String halTime);
}
